package me.keiwu.task.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * Created by kei on 20/10/2017.
 */
@RestController
@RequestMapping({"", "/index"})
public class IndexController {



    @RequestMapping("")
    public String index() {
        return "hello task service";
    }


    @RequestMapping(value = "test", produces = "application/json; charset=utf-8")
    public String test() {
        return "test";
    }


}
